package cn.test1;

import org.junit.jupiter.api.*;

public class JDemo2 {

    @BeforeAll
    public static void testBeforeAll() {
        System.out.println("BeforeAll");
    }

    // @Disabled
    @Test
    public void show() {
        System.out.println("aaa");
    }

    @Test
    public void test() {
        System.out.println("ccc");
    }

    @BeforeEach
    public void testBeforeEach() {
        System.out.println("BeforeEach");
    }

    @AfterEach
    public void testAfterEach() {
        System.out.println("AfterEach");
    }

    @AfterAll
    public static void testAfterAll() {
        System.out.println("AfterAll");
    }
}
